<%@ page contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
<%@ page
	import="java.io.*, java.sql.*, java.util.*, java.text.*, napal.*, util.*"%>
<%@ page import="org.apache.ibatis.*"%>
<%@ page import="java.util.Date"%>
<%
	request.setCharacterEncoding("utf-8");
String aid = request.getParameter("aid");
int id = Integer.parseInt(aid);//기자재번호
RentalHome.deleteBoard(id);
%>

<html>
<head>
	<script language=javascript>
		self.window.alert("글을 삭제하였습니다.");
		location.href="BoardList.jsp";
	</script>
</head>
</html>